package com.hqyj.pojo;

public class Permission extends MyPage {
    private Integer pId;

    private String pName;

    private String pNameCh;

    private Integer parentId;

    private String type;

    private String url;

    private String state;

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpNameCh() {
        return pNameCh;
    }

    public void setpNameCh(String pNameCh) {
        this.pNameCh = pNameCh;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pNameCh='" + pNameCh + '\'' +
                ", parentId=" + parentId +
                ", type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}